Class("ServiceMgr","Singleton")

function __Constructor(self)
	self._ServiceArray = Array:New()
end

function Add(self,serviceClass)
	self._ServiceArray:Add(serviceClass:GetInstance())
end

function Clear(self)
	self._ServiceArray:Clear()
end

function Start(self)
    self._ServiceArray:ForEach("OnInit")
end